//
//  GROrderManager.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/7/25.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GROrderListModel.h"
@class GROrderDetailGoodCell;
typedef NS_ENUM(NSInteger , OrderActionType){
    OrderActionTypeComment = 0,
    OrderActionTypeCustomerService,//客服
    OrderActionTypeCancleOrder,//取消订单
    OrderActionTypeReturnMoeny,
    OrderActionTypePayOrder,
    OrderActionTypeConfirmOrder,
    OrderActionTypeLogsticsProgress,
    OrderActionTypeOrderProgress
};
typedef NS_ENUM(NSInteger , RiceOrderActionType){
     RiceOrderActionTypeComment = 0,
     RiceOrderActionTypeCustomerService,//客服
     RiceOrderActionTypeCancleOrder,//取消订单
     RiceOrderActionTypeReturnMoeny,//申请退款
     RiceOrderActionTypePayOrder,//支付
  
};
@protocol GROrderManagerProto <NSObject>
@optional
-(void)dealOrderWithActionType:(OrderActionType)actionType OrderId:(NSInteger)orderId;
-(void)dealOrderWithActionType:(OrderActionType)actionType orderListModel:(GROrderListModel*)listModel;
-(void)skipToReturnProgress:(NSInteger )orderId IsReturnGood:(BOOL)isReturnGood;
-(void)applyReturnGood:(GROrderListGoodModel *)goodListModel DetailCell:(GROrderDetailGoodCell*)detailCell;
-(void)showAllGood:(GROrderListModel *)listModel;
@end
